package data.join.com.receiver;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Handler;

import data.join.com.service.MainService;
import data.join.com.utils.MyLog;


/**
 * Created by wenlong on 16-4-18.
 */
public class BootReceiver extends BroadcastReceiver {
    public final static String TAG = "BootReceiver";

    @Override
    public void onReceive(Context context, Intent intent) {
        String action = intent.getAction();
        MyLog.D(TAG, "action = "+action);

        MainService.startMainService(context);

    }

}
